
#include <algorithm>
#include "universal.h"

namespace sympsel {
    int math = 100;
    int chinese = 100;
    int english = 100;
    namespace sympsel {
        int math = 100;
        int chinese = 100;
        int english = 100;
    }
}
class A {
public :
    int a;
};

namespace std {
    int d = 12;
}

namespace stack {
    struct Stack {
        
    };
}

int aaa = 1;

void test1() {
    std::cout << "Hello world!" << std::endl;
    std::cout << sympsel::chinese << std::endl;
    std::cout << sympsel::sympsel::chinese << std::endl;
    std::cout << aaa << std::endl;
    A aa;
    aa.a = 1;
    std::cout << aa.a << std::endl;
    std::cout << std::d << std::endl;
}

void test2() {
    int arr[] = {
        1, 2, 5, 4, 0
    };
    int n = sizeof(arr) / sizeof(*arr);
    std::sort(arr, arr + n);
    for (int i = 0; i < n; i++) {
        std::cout << arr[i] << " ";

    }
    std::cout << std::endl;
}

void test3() {
    int a = 2;
    int b = 3;
    std::cout << a << std::endl << b << "\n";
    std::cout << a << "\n" << b << std::endl;

    std::cout << a << "\n";
    std::cout << a << std::endl;
}

void test4() {
    printf("中文输入测试 \n");
    cout << "中文输入测试" << endl;
}

int main() {
    // test1();
    // test2();
    // test3();
    test4();
    return 0;
}
